package com.mistyrain.service;

import com.mistyrain.entity.Menu;
import com.mistyrain.entity.MenuVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MenuService {
    public MenuVO findAll(int index, int limit);
    public int count();
    public void save(Menu menu);
    public Menu findById(long id);
    public void update(Menu menu);
    public void deleteById(long id);
}
